cmake_minimum_required(VERSION 3.5)
#project point  using a parametric model
#使用一个参考模型进行投影
project(correspondence_grouping)
find_package(VTK 6.2 REQUIRED)
# find_package(PCL 1.8 REQUIRED)
set(PCL_HOME /home/de/pcl-pcl-1.8.0/install)
include_directories(${PCL_HOME}/include/pcl-1.8 /usr/include/vtk-6.2 /usr/include/eigen3)
link_directories(${PCL_HOME}/lib )
# add_definitions(${PCL_DEFINITIONS})
add_definitions(-std=c++11)

add_executable(${PROJECT_NAME}  correspondence_grouping.cpp)
target_link_libraries(${PROJECT_NAME} ${VTK_LIBRARIES} vtkCommonCore-6.2 pcl_registration pcl_io boost_system  
pcl_keypoints pcl_visualization pcl_features pcl_recognition pcl_segmentation pcl_search pcl_kdtree pcl_common pcl_2d pcl_filters pcl_outofcore)
